package com.etcsoft.examples.binding.viewer.model;

import java.util.ArrayList;
import java.util.List;

public class FolderNode extends FileNode {
    private List<FileNode> children = new ArrayList<FileNode>();

    public List<FileNode> getChildren() {
        return children;
    }

    public void setChildren(List<FileNode> children) {
        this.children = children;
    }

    public void add(FileNode node) {
        children.add(node);
    }

    public void remove(FileNode node) {
        children.remove(node);
    }
}
